﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using PBOffice.BLL;
using PBOffice.Models;

public partial class FileManager_FileSerach : System.Web.UI.Page
{
    List<FileInfo> list = new FileInfoManager().GetAllFileInfo();
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            this.GridView1.DataSource = list;
            this.GridView1.DataBind();
           // this.lbtnSou.Attributes.Add("onclick", "dispaly()");
        }
    }
    protected void lbtnSou_Click(object sender, EventArgs e)
    {
        //Page.ClientScript.RegisterClientScriptBlock(typeof(string), "script", "  var div = document.getElementById('date'); if (div.style.display "
        //    +"=='') { div.style.display == 'none'; } if (div.style.display == 'none') {  div.style.display = ''; }");
    }
}